package com.tom.usercenter.service;

import com.tom.usercenter.model.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 周清峰
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2024-07-04 20:16:27
*/
public interface UserService extends IService<User> {
      long userRegister(String userAccount, String userPassword, String checkPassword,String planetCode);
      User userLogin(String userAccount, String userPassword, HttpServletRequest request);

    //把脱敏代码封装成一个通用的方法
    User getFilterUser(User loginUser);

    List<User> queryUser(String username);
}
